package study.designpattern.simplefactory;
/**
 * @author taowei20061122@163.com
 *
 * 2013-4-29 下午09:24:39
 */
public class Client {
	public static void main(String[] args) {
		Api api = SimpleFactory.getApi();
		api.test("test simple factory.");
		
		api = SimpleFactory.getApi(2);
		api.test("test simple factory.");
	}
}
